import request from "./request";

//查询
export const findAllArticle = (param) => request.get("/cate/findArticles" , {params: param});

//删除数据
export const deleteArticle = (id) => request.get("/cate/deleteById?id=" + id);

//添加数据
export const addArticle = (data) => request.post("/cate/add", data);

//修改数据
export const updateArticle = (data) => request.post("/cate/update", data);
